<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C# API Reference for Windows: JCSDK.JCMediaChannel.JCMediaChannel类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C# API Reference for Windows
   &#160;<span id="projectnumber">2.3.3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_j_c_s_d_k.html">JCSDK</a></li><li class="navelem"><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_media_channel.html">JCMediaChannel</a></li><li class="navelem"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="#properties">属性</a> &#124;
<a href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">JCSDK.JCMediaChannel.JCMediaChannel类 参考<div class="ingroups"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">媒体频道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 JCSDK.JCMediaChannel.JCMediaChannel 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.png" usemap="#JCSDK.JCMediaChannel.JCMediaChannel_map" alt=""/>
  <map id="JCSDK.JCMediaChannel.JCMediaChannel_map" name="JCSDK.JCMediaChannel.JCMediaChannel_map">
<area href="interface_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client_callback.html" alt="JCSDK.JCClient.JCClientCallback" shape="rect" coords="0,0,292,24"/>
<area href="interface_j_c_s_d_k_1_1_j_c_media_device_1_1_j_c_media_device_callback.html" alt="JCSDK.JCMediaDevice.JCMediaDeviceCallback" shape="rect" coords="302,0,594,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html">JoinParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_prop_change_param.html">PropChangeParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_record_param.html">RecordParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_sip_param.html">SipParam</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:adcfdeda06ad3de0f1df66570c19eb10d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#adcfdeda06ad3de0f1df66570c19eb10d">getSpkLevel</a> ()</td></tr>
<tr class="separator:adcfdeda06ad3de0f1df66570c19eb10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec0b92938a5fdfbc3ab7d0a154e9e508"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aec0b92938a5fdfbc3ab7d0a154e9e508">inviteSipUser</a> (string userId, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_sip_param.html">SipParam</a> sipParam)</td></tr>
<tr class="separator:aec0b92938a5fdfbc3ab7d0a154e9e508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70733aacd3cfb07525129c9ba551610f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a70733aacd3cfb07525129c9ba551610f">query</a> (string <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a263cf4ddd6cacd59c53cb7a5a3fb8f0a">channelId</a>)</td></tr>
<tr class="separator:a70733aacd3cfb07525129c9ba551610f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf6d8cf2a0c09b0870343e704175d6f4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#abf6d8cf2a0c09b0870343e704175d6f4">join</a> (string channelIdOrUri, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html">JoinParam</a> joinParam)</td></tr>
<tr class="separator:abf6d8cf2a0c09b0870343e704175d6f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8bd2b73d39d33959f2214b298dc4579"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ab8bd2b73d39d33959f2214b298dc4579">leave</a> ()</td></tr>
<tr class="separator:ab8bd2b73d39d33959f2214b298dc4579"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad241abc5692625fb65d41f8ac70328dd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ad241abc5692625fb65d41f8ac70328dd">stop</a> ()</td></tr>
<tr class="separator:ad241abc5692625fb65d41f8ac70328dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fddcd31b55e2de363668e4a02a9bb48"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a2fddcd31b55e2de363668e4a02a9bb48">enableUploadAudioStream</a> (bool enable)</td></tr>
<tr class="separator:a2fddcd31b55e2de363668e4a02a9bb48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ede80c3f03fb308bd7af79d9a87a5cb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a1ede80c3f03fb308bd7af79d9a87a5cb">enableUploadVideoStream</a> (bool enable)</td></tr>
<tr class="separator:a1ede80c3f03fb308bd7af79d9a87a5cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed71dff82747e59d38b2a4a13c299e17"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aed71dff82747e59d38b2a4a13c299e17">setVideoCapture</a> (string path)</td></tr>
<tr class="separator:aed71dff82747e59d38b2a4a13c299e17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c424c3a3edb2160406cdab9e93ddaf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a71c424c3a3edb2160406cdab9e93ddaf">enableAudioOutput</a> (bool enable)</td></tr>
<tr class="separator:a71c424c3a3edb2160406cdab9e93ddaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39941571d90d9f6550152dcc52e21d87"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a39941571d90d9f6550152dcc52e21d87">requestVideo</a> (<a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant, <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a> pictureSize)</td></tr>
<tr class="separator:a39941571d90d9f6550152dcc52e21d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc9400b483feba260a3b9f23d4186d8c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#abc9400b483feba260a3b9f23d4186d8c">enableScreenOrWindowShare</a> (bool enable)</td></tr>
<tr class="separator:abc9400b483feba260a3b9f23d4186d8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f2c8a2b9cba0180b21e0697ab3a49ef"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a4f2c8a2b9cba0180b21e0697ab3a49ef">requestScreenVideo</a> (string screenUri, <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a> pictureSize)</td></tr>
<tr class="separator:a4f2c8a2b9cba0180b21e0697ab3a49ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2be0d75bbdf74c26aed3c6e26877efb4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a2be0d75bbdf74c26aed3c6e26877efb4">enableCdn</a> (bool enable, int keyInterval)</td></tr>
<tr class="separator:a2be0d75bbdf74c26aed3c6e26877efb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2d3b8ebd9c6712799119989e1fc8bcd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ac2d3b8ebd9c6712799119989e1fc8bcd">enableRecord</a> (bool enable, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_record_param.html">RecordParam</a> recordParam)</td></tr>
<tr class="separator:ac2d3b8ebd9c6712799119989e1fc8bcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dae252ee8aa2631cd87b20fa2288ac0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a4dae252ee8aa2631cd87b20fa2288ac0">getParticipant</a> (string userId)</td></tr>
<tr class="separator:a4dae252ee8aa2631cd87b20fa2288ac0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e91544740dce1d6eb2724dd03170c6a"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a6e91544740dce1d6eb2724dd03170c6a">getParticipants</a> ()</td></tr>
<tr class="separator:a6e91544740dce1d6eb2724dd03170c6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a049113155708a09be3d72b6f595a2d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a4a049113155708a09be3d72b6f595a2d">sendMessage</a> (string type, string content, string toUserId)</td></tr>
<tr class="separator:a4a049113155708a09be3d72b6f595a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab96da51fe4f9bd138611c5033955bf9"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aab96da51fe4f9bd138611c5033955bf9">getStatistics</a> ()</td></tr>
<tr class="separator:aab96da51fe4f9bd138611c5033955bf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15683bb7145a7df285552d5bcaee2f7a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a15683bb7145a7df285552d5bcaee2f7a">sendCommand</a> (string name, string param)</td></tr>
<tr class="separator:a15683bb7145a7df285552d5bcaee2f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4319fcd6ad8bd954780d653e8b97b619"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a4319fcd6ad8bd954780d653e8b97b619">sendCommandToDelivery</a> (string command)</td></tr>
<tr class="separator:a4319fcd6ad8bd954780d653e8b97b619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d81a162904941300de931a201ef8575"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a1d81a162904941300de931a201ef8575">setCustomProperty</a> (string property)</td></tr>
<tr class="separator:a1d81a162904941300de931a201ef8575"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af799e5a0983b33df5b6bc954e13106b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#af799e5a0983b33df5b6bc954e13106b0">setCustomRole</a> (<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaa08a0d769204469b225ef05b65e3d8e1">JCMediaChannelCustomRole</a> <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ac29c2c5625a3e6d22982941c39280b45">customRole</a>, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:af799e5a0983b33df5b6bc954e13106b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d3ec7d6875f0c2b7387cd9b7a8a896a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a9d3ec7d6875f0c2b7387cd9b7a8a896a">setCustomState</a> (<a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga1adecbfad737d3374556967dc989f145">JCMediaChannelCustomState</a> <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aa419ef68f470053b1979fe2f756564c6">customState</a>, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:a9d3ec7d6875f0c2b7387cd9b7a8a896a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac63225562c4b6a6233dbaafd36665418"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ac63225562c4b6a6233dbaafd36665418">kick</a> (<a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:ac63225562c4b6a6233dbaafd36665418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001cdfebd12d166688892172f22e3f69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a001cdfebd12d166688892172f22e3f69">enableSelfVideoRatio</a> (bool enable, float ratio)</td></tr>
<tr class="separator:a001cdfebd12d166688892172f22e3f69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a964faa05949c34d2e46cc31439464cca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_device_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a964faa05949c34d2e46cc31439464cca">startScreenShareVideo</a> (<a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga440618b370a53169b48134c02056144b">JCMediaDeviceRenderMode</a> mode, <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a> pictureSize)</td></tr>
<tr class="separator:a964faa05949c34d2e46cc31439464cca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f8a9b4eacfd02b268fc667ccfa821b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#af6f8a9b4eacfd02b268fc667ccfa821b">stopScreenShareVideo</a> ()</td></tr>
<tr class="separator:af6f8a9b4eacfd02b268fc667ccfa821b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a273d6d6852698c5cc81b907ba6787a07"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a273d6d6852698c5cc81b907ba6787a07">create</a> (<a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html">JCClient.JCClient</a> client, <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_device_1_1_j_c_media_device.html">JCMediaDevice.JCMediaDevice</a> mediaDevice, <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html">JCMediaChannelCallback</a> callback)</td></tr>
<tr class="separator:a273d6d6852698c5cc81b907ba6787a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28190faf9d74c8909699f152c1585f15"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a28190faf9d74c8909699f152c1585f15">destroy</a> ()</td></tr>
<tr class="separator:a28190faf9d74c8909699f152c1585f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:add3000444cbde3d9cf0420d194bf0974"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#add3000444cbde3d9cf0420d194bf0974">volumeChangeNotify</a> = false</td></tr>
<tr class="separator:add3000444cbde3d9cf0420d194bf0974"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
属性</h2></td></tr>
<tr class="memitem:a263cf4ddd6cacd59c53cb7a5a3fb8f0a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a263cf4ddd6cacd59c53cb7a5a3fb8f0a">channelId</a><code> [get, set]</code></td></tr>
<tr class="separator:a263cf4ddd6cacd59c53cb7a5a3fb8f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11c2a67b480517aa2b5d4918d26a7c57"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a11c2a67b480517aa2b5d4918d26a7c57">channelUri</a><code> [get, set]</code></td></tr>
<tr class="separator:a11c2a67b480517aa2b5d4918d26a7c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8af073cb712f87330da2e19c092beafd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a8af073cb712f87330da2e19c092beafd">channelNumber</a><code> [get, set]</code></td></tr>
<tr class="separator:a8af073cb712f87330da2e19c092beafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a323710cbbb1737a2a375f3959491e82f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">JCMediaChannelState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a323710cbbb1737a2a375f3959491e82f">state</a><code> [get, set]</code></td></tr>
<tr class="separator:a323710cbbb1737a2a375f3959491e82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48ae640ccee47605de99d08307461170"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a48ae640ccee47605de99d08307461170">uploadLocalAudio</a><code> [get, set]</code></td></tr>
<tr class="separator:a48ae640ccee47605de99d08307461170"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeef8f7d17e187c0e010275089f751066"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aeef8f7d17e187c0e010275089f751066">uploadLocalVideo</a><code> [get, set]</code></td></tr>
<tr class="separator:aeef8f7d17e187c0e010275089f751066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b96b562e8f9b421fe1478f9155fdddd"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a1b96b562e8f9b421fe1478f9155fdddd">audioOutput</a><code> [get, set]</code></td></tr>
<tr class="separator:a1b96b562e8f9b421fe1478f9155fdddd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad908880e1247395afdd7a843a1be887a"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ad908880e1247395afdd7a843a1be887a">title</a><code> [get, set]</code></td></tr>
<tr class="separator:ad908880e1247395afdd7a843a1be887a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bae432246e32530364e8d6712e2e4aa"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a8bae432246e32530364e8d6712e2e4aa">screenRenderId</a><code> [get, set]</code></td></tr>
<tr class="separator:a8bae432246e32530364e8d6712e2e4aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1343c8c5f28e90f2139f145e62b12737"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a1343c8c5f28e90f2139f145e62b12737">screenUserId</a><code> [get, set]</code></td></tr>
<tr class="separator:a1343c8c5f28e90f2139f145e62b12737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaaa80ebde523c64d9a7113f8c48eccf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">JCMediaChannelRecordState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#afaaa80ebde523c64d9a7113f8c48eccf">recordState</a><code> [get, set]</code></td></tr>
<tr class="separator:afaaa80ebde523c64d9a7113f8c48eccf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2dfb2c84eb384f573eba9d839625fc3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">JCMediaChannelCdnState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aa2dfb2c84eb384f573eba9d839625fc3">cdnState</a><code> [get, set]</code></td></tr>
<tr class="separator:aa2dfb2c84eb384f573eba9d839625fc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95672dd878989b7aed5fb96e6b6b79e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a95672dd878989b7aed5fb96e6b6b79e0">selfParticipant</a><code> [get]</code></td></tr>
<tr class="separator:a95672dd878989b7aed5fb96e6b6b79e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6a5dcfc41c7f2a63ac564a64f5b0485"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ab6a5dcfc41c7f2a63ac564a64f5b0485">password</a><code> [get]</code></td></tr>
<tr class="separator:ab6a5dcfc41c7f2a63ac564a64f5b0485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9fd7adfdc402bc4038d0c2132d8c231"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ac9fd7adfdc402bc4038d0c2132d8c231">deliveryUri</a><code> [get]</code></td></tr>
<tr class="separator:ac9fd7adfdc402bc4038d0c2132d8c231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e0cbf39e27394926b324f6e5d3323bf"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a9e0cbf39e27394926b324f6e5d3323bf">confId</a><code> [get]</code></td></tr>
<tr class="separator:a9e0cbf39e27394926b324f6e5d3323bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ca33db3adb384f503a8f110d74ca91"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#af1ca33db3adb384f503a8f110d74ca91">customProperty</a><code> [get]</code></td></tr>
<tr class="separator:af1ca33db3adb384f503a8f110d74ca91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac29c2c5625a3e6d22982941c39280b45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaa08a0d769204469b225ef05b65e3d8e1">JCMediaChannelCustomRole</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#ac29c2c5625a3e6d22982941c39280b45">customRole</a><code> [get]</code></td></tr>
<tr class="separator:ac29c2c5625a3e6d22982941c39280b45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa419ef68f470053b1979fe2f756564c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga1adecbfad737d3374556967dc989f145">JCMediaChannelCustomState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#aa419ef68f470053b1979fe2f756564c6">customState</a><code> [get]</code></td></tr>
<tr class="separator:aa419ef68f470053b1979fe2f756564c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>媒体频道模块，类似音视频房间的概念，可以通过频道号 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a263cf4ddd6cacd59c53cb7a5a3fb8f0a">channelId</a> 加入频道进行音视频通话 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a273d6d6852698c5cc81b907ba6787a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a273d6d6852698c5cc81b907ba6787a07">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> JCSDK.JCMediaChannel.JCMediaChannel.create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html">JCClient.JCClient</a>&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_device_1_1_j_c_media_device.html">JCMediaDevice.JCMediaDevice</a>&#160;</td>
          <td class="paramname"><em>mediaDevice</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html">JCMediaChannelCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象</p>
<p><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>注解</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象后，期间没有调用过 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a28190faf9d74c8909699f152c1585f15">destroy</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="namespace_j_c_s_d_k_1_1_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="class_j_c_s_d_k_1_1_j_c_client_1_1_j_c_client.html#a8b114554ece8a6e4e03dd8f91812b802">state</a> 状态值不等于 <a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga2aa0686490aced8d8c24d3318a989af8">NotInit</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">mediaDevice</td><td><a class="el" href="namespace_j_c_s_d_k_1_1_j_c_media_device.html">JCMediaDevice</a> 对象 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html">JCMediaChannelCallback</a> 对象，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">client、mediaDevice、callback 任意一个参数传空就会出现调用失败</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a28190faf9d74c8909699f152c1585f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28190faf9d74c8909699f152c1585f15">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void JCSDK.JCMediaChannel.JCMediaChannel.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象</p>
<dl class="section note"><dt>注解</dt><dd>此方法为异步调用，所以在调用此方法后不能马上调用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a273d6d6852698c5cc81b907ba6787a07">create</a> 方法去重新创建 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 对象 </dd></dl>

</div>
</div>
<a id="a71c424c3a3edb2160406cdab9e93ddaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71c424c3a3edb2160406cdab9e93ddaf">&#9670;&nbsp;</a></span>enableAudioOutput()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableAudioOutput </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开启/关闭远端音频输出</p>
<p>该方法可实现本地静音功能。关闭时听不到频道内其他成员的声音，不影响其他成员；开启时可以听到其他成员声音 <br  />
 初始化 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 时，音频输出功能默认是开启的。若要加入频道时听不见其他成员的声音，需要在调用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#abf6d8cf2a0c09b0870343e704175d6f4">join</a> 加入频道前设置为关闭 <br  />
 该方法可以关闭或重新开启音频输出功能，在频道内和频道外均可调用，且在离开频道后该设置仍然有效，也就是说这一次设置了关闭音频输出，那么下一次加入频道时也是默认关闭音频输出</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>是否开启音频输出<ul>
<li>true: 开启</li>
<li>false: 关闭 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程<ul>
<li>在调用此方法时，用户的频道状态不是已加入状态，则不会收到回调通知</li>
<li>在调用此方法时，用户的频道状态是已加入状态，则会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 通知</li>
</ul>
</li>
<li>false：调用失败，不会收到回调通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a2be0d75bbdf74c26aed3c6e26877efb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2be0d75bbdf74c26aed3c6e26877efb4">&#9670;&nbsp;</a></span>enableCdn()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableCdn </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>keyInterval</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开关Cdn推流</p>
<p>在收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 回调后检查是否开启</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>是否开启Cdn推流<ul>
<li>true: 开启 Cdn 推流</li>
<li>false: 关闭 Cdn 推流 </li>
</ul>
</td></tr>
    <tr><td class="paramname">keyInterval</td><td>推流关键帧间隔(毫秒)，当参数 enable 为 true 时有效，有效值需要&gt;=1000 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 通知</li>
<li>false：调用失败，不会收到通知回调 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ac2d3b8ebd9c6712799119989e1fc8bcd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2d3b8ebd9c6712799119989e1fc8bcd">&#9670;&nbsp;</a></span>enableRecord()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableRecord </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_record_param.html">RecordParam</a>&#160;</td>
          <td class="paramname"><em>recordParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开启/关闭视频录制</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>开启/关闭视频录制<ul>
<li>true: 开启视频录制</li>
<li>false: 关闭视频录制 </li>
</ul>
</td></tr>
    <tr><td class="paramname">recordParam</td><td><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_record_param.html">RecordParam</a> 录制参数对象，当参数 enable 为 true 时，可以更改由 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#abf6d8cf2a0c09b0870343e704175d6f4">join</a> 时传入的录制参数，不需更改则填 null </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 通知</li>
<li>false：调用失败，不会收到通知回调 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="abc9400b483feba260a3b9f23d4186d8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc9400b483feba260a3b9f23d4186d8c">&#9670;&nbsp;</a></span>enableScreenOrWindowShare()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableScreenOrWindowShare </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开启/关闭屏幕分享</p>
<p>在频道中调用此方法才有效</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>开启/关闭屏幕分享<ul>
<li>true: 开启屏幕分享</li>
<li>false: 关闭屏幕分享 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a001cdfebd12d166688892172f22e3f69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a001cdfebd12d166688892172f22e3f69">&#9670;&nbsp;</a></span>enableSelfVideoRatio()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void JCSDK.JCMediaChannel.JCMediaChannel.enableSelfVideoRatio </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ratio</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置自身视频宽高比</p>
<dl class="section note"><dt>注解</dt><dd>必须加入频道后设置才能生效</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>是否开启自身视频宽高比<ul>
<li>true: 开启</li>
<li>false: 关闭 </li>
</ul>
</td></tr>
    <tr><td class="paramname">ratio</td><td>视频宽高比 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a2fddcd31b55e2de363668e4a02a9bb48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fddcd31b55e2de363668e4a02a9bb48">&#9670;&nbsp;</a></span>enableUploadAudioStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableUploadAudioStream </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开启/关闭发送本地音频流</p>
<p>调用该方法可开启或关闭发送本地音频流。开启后，频道成员将听见本端声音；关闭后，频道成员将听不见本端声音 <br  />
 初始化 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 时，默认不发送本地音频流。若要加入频道时，让频道内其他成员听见本端声音，需要在调用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#abf6d8cf2a0c09b0870343e704175d6f4">join</a> 加入频道前设置 <br  />
 该方法在频道内和频道外均可调用，且在离开频道后该设置仍然有效。也就是说这一次设置了开启发送本地音频流，那么在下一次加入频道时默认会开启发送本地音频流 <br  />
 会议中也可调用此方法开启或关闭发送本地音频流，服务器会更新状态并同步给其他频道成员 <br  />
 会议中调用此方法不影响接收远端音频</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>开启/关闭发送本地音频流<ul>
<li>true: 开启，即发送本地音频流</li>
<li>false: 关闭，即不发送本地音频流 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true: 正常执行调用流程<ul>
<li>在调用此方法时，用户不在频道中，则不会收到回调通知</li>
<li>在调用此方法时，用户在频道中，则会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 通知</li>
</ul>
</li>
<li>false: 调用失败，不会收到回调通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a1ede80c3f03fb308bd7af79d9a87a5cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1ede80c3f03fb308bd7af79d9a87a5cb">&#9670;&nbsp;</a></span>enableUploadVideoStream()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.enableUploadVideoStream </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>开启/关闭发送本地视频流</p>
<p>调用该方法可开启或关闭发送本地视频流。开启后，频道成员将可以看见本端视频画面；关闭后，频道成员将看不见本端视频画面 <br  />
 初始化 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html">JCMediaChannel</a> 时，默认发送本地视频流。若要加入频道时，让频道内其他成员看见本端视频画面，建议在调用 <a class="el" href="">join</a> 加入频道前设置 <br  />
 该方法在频道内和频道外均可调用，且在离开频道后该设置仍然有效。也就是说这一次设置了关闭发送本地视频流，那么在下一次加入频道时默认会关闭发送本地视频流 <br  />
 会议中也可调用此方法开启或关闭发送本地视频流，服务器会更新状态并同步给其他频道成员 <br  />
 会议中调用此方法不影响接收远端视频</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">enable</td><td>是否发送本地视频流<ul>
<li>true: 开启，即发送本地视频流</li>
<li>false: 关闭，即不发送本地视频流 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程<ul>
<li>在调用此方法时，用户不在频道中，则不会收到回调通知</li>
<li>在调用此方法时，用户在频道中，则会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a3e5def0199b22c76a8e5e0f69508e0c3">onMediaChannelPropertyChange</a> 通知</li>
</ul>
</li>
<li>false：调用失败，不会收到回调通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a4dae252ee8aa2631cd87b20fa2288ac0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4dae252ee8aa2631cd87b20fa2288ac0">&#9670;&nbsp;</a></span>getParticipant()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> JCSDK.JCMediaChannel.JCMediaChannel.getParticipant </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>userId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>根据用户标识获取频道成员</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">userId</td><td>用户唯一标识 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><ul>
<li>频道内无此用户标识的用户: null</li>
<li>频道内有此用户标识的用户: <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 对象 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a6e91544740dce1d6eb2724dd03170c6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e91544740dce1d6eb2724dd03170c6a">&#9670;&nbsp;</a></span>getParticipants()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&gt; JCSDK.JCMediaChannel.JCMediaChannel.getParticipants </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获得频道中的所有成员 </p><dl class="section return"><dt>返回</dt><dd>频道中的所有成员列表 </dd></dl>

</div>
</div>
<a id="adcfdeda06ad3de0f1df66570c19eb10d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcfdeda06ad3de0f1df66570c19eb10d">&#9670;&nbsp;</a></span>getSpkLevel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCSDK.JCMediaChannel.JCMediaChannel.getSpkLevel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取当前输出等级 </p>

</div>
</div>
<a id="aab96da51fe4f9bd138611c5033955bf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab96da51fe4f9bd138611c5033955bf9">&#9670;&nbsp;</a></span>getStatistics()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String JCSDK.JCMediaChannel.JCMediaChannel.getStatistics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>获取统计信息</p>
<p>以Json字符串形式返回，其中包含 "Config"， "Network"，"Transport" 和 "Participants" 4个节点</p>
<dl class="section return"><dt>返回</dt><dd>统计信息 </dd></dl>

</div>
</div>
<a id="aec0b92938a5fdfbc3ab7d0a154e9e508"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec0b92938a5fdfbc3ab7d0a154e9e508">&#9670;&nbsp;</a></span>inviteSipUser()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCSDK.JCMediaChannel.JCMediaChannel.inviteSipUser </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>userId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_sip_param.html">SipParam</a>&#160;</td>
          <td class="paramname"><em>sipParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>邀请Sip用户</p>
<p>一般用于对接落地网关等，结果通过 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#afe1a8da40d4e3b4ac085760a0d37cb51">onInviteSipUserResult</a> 通知</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">userId</td><td>一般为号码 </td></tr>
    <tr><td class="paramname">sipParam</td><td>JCMediaChannelSipParam 参数对象 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>&gt; 0：操作id，结果通过 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#afe1a8da40d4e3b4ac085760a0d37cb51">onInviteSipUserResult</a> 通知</li>
<li>-1：失败，不会收到回调通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="abf6d8cf2a0c09b0870343e704175d6f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf6d8cf2a0c09b0870343e704175d6f4">&#9670;&nbsp;</a></span>join()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.join </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>channelIdOrUri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html">JoinParam</a>&#160;</td>
          <td class="paramname"><em>joinParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>加入频道</p>
<p>该方法让用户加入通话频道，在同一个频道内的用户可以互相通话，多个用户加入同一个频道，可以群聊 <br  />
 如果已在频道中，用户必须退出当前频道，即处于空闲状态，才能进入下一个频道 <br  />
 在调用此方法时需要保证自己的频道状态为空闲状态，否则将直接返回 false <br  />
</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">channelIdOrUri</td><td>媒体频道标识或者频道Uri，当入参 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html">JoinParam</a> 对象 中 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html#a3fc10a84a4597e52bbec81942af894c3">uriMode</a> 设置为 true 时表示频道 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a11c2a67b480517aa2b5d4918d26a7c57">channelUri</a> ，否则表示频道标识 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a263cf4ddd6cacd59c53cb7a5a3fb8f0a">channelId</a> </td></tr>
    <tr><td class="paramname">joinParam</td><td><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_1_1_join_param.html">JoinParam</a> 对象，没有则填 null </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true: 正常执行调用流程</li>
<li>false: 调用失败<ul>
<li>在调用此方法时，用户的频道状态不是空闲状态，则不会收到回调通知</li>
<li>在调用此方法时，用户的频道是空闲状态，则会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a13c03cd2a9e179eb2e53f936538a6c5b">onJoin</a> 方法通知 </li>
</ul>
</li>
</ul>
</dd></dl>

</div>
</div>
<a id="ac63225562c4b6a6233dbaafd36665418"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac63225562c4b6a6233dbaafd36665418">&#9670;&nbsp;</a></span>kick()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.kick </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>将成员踢出频道</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td>成员 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="ab8bd2b73d39d33959f2214b298dc4579"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8bd2b73d39d33959f2214b298dc4579">&#9670;&nbsp;</a></span>leave()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.leave </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>离开频道</p>
<p>当前只支持同时加入一个频道，结果通过 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a7047427bbb7433037dd20bd24fcda6e9">onLeave</a> 通知</p>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true: 正常执行调用流程</li>
<li>false: 调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a70733aacd3cfb07525129c9ba551610f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70733aacd3cfb07525129c9ba551610f">&#9670;&nbsp;</a></span>query()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int JCSDK.JCMediaChannel.JCMediaChannel.query </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>channelId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询频道相关信息</p>
<p>例如频道是否存在，频道人数等，结果通过 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a5058da3473ec04211aae62d40d98ee70">onQuery</a> 通知</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">channelId</td><td>频道标识 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>操作id，与 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a5058da3473ec04211aae62d40d98ee70">onQuery</a> 回调中的 operationId 对应 </dd></dl>

</div>
</div>
<a id="a4f2c8a2b9cba0180b21e0697ab3a49ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f2c8a2b9cba0180b21e0697ab3a49ef">&#9670;&nbsp;</a></span>requestScreenVideo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.requestScreenVideo </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>screenUri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a>&#160;</td>
          <td class="paramname"><em>pictureSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>请求频道成员屏幕共享的视频流</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000008">弃用:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，建议使用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a964faa05949c34d2e46cc31439464cca">startScreenShareVideo</a> 方法代替</dd></dl>
<p>当 pictureSize 为 JCMediaChannelPictureSizeNone 表示关闭请求</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screenUri</td><td>屏幕分享 uri </td></tr>
    <tr><td class="paramname">pictureSize</td><td>视频请求尺寸类型，参见：<ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">None</a> : 不渲染</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Min</a> : 最小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Small</a> : 小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Large</a> : 大尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Max</a> : 最大尺寸 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a39941571d90d9f6550152dcc52e21d87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39941571d90d9f6550152dcc52e21d87">&#9670;&nbsp;</a></span>requestVideo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.requestVideo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a>&#160;</td>
          <td class="paramname"><em>pictureSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>请求频道中其他用户的视频流</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">弃用:</a></b></dt><dd>从 JCSDK-2.3.1-202009101 版本开始弃用，建议使用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html#ab4f1034f35315029aac3949d7e3d52c9">startVideo</a> 方法代替</dd></dl>
<p>当 pictureSize 为 JCMediaChannelPictureSizeNone 时表示关闭请求</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 频道中其他成员对象 </td></tr>
    <tr><td class="paramname">pictureSize</td><td>视频请求的尺寸类型：<ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">None</a> : 不渲染</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Min</a> : 最小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Small</a> : 小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Large</a> : 大尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Max</a> : 最大尺寸 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程，会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a742c4faad421cf18f991dc954374931f">onParticipantUpdate</a> 通知</li>
<li>false：调用失败，不会收到回调通知 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a15683bb7145a7df285552d5bcaee2f7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15683bb7145a7df285552d5bcaee2f7a">&#9670;&nbsp;</a></span>sendCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.sendCommand </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>param</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>发送指令<br  />
</p>
<ul>
<li>指令名: StartForward 指令作用：请求服务器开始转发音视频<br  />
 参数格式:{"MtcConfUserUriKey": "用户Uri", "MtcConfMediaOptionKey": "类型"}<br  />
 用户Uri: 通过调用底层Mtc接口获取 MtcUser.Mtc_UserFormUri(EN_MTC_USER_ID_USERNAME, userId)<br  />
 类型: 服务器转发分三种 音频、视频、音视频，具体可参考底层mtc_conf.h下的MtcConfMedia的枚举值。<br  />
 注意1:指令发送成功后会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a742c4faad421cf18f991dc954374931f">onParticipantUpdate</a> 回调 <br  />
 举例: {"MtcConfUserUriKey": "[username:justin@sample.cloud.justalk.com]", "MtcConfMediaOptionKey": 3}<br  />
<br  />
</li>
<li>指令名: StopForward 指令作用：请求服务器停止转发音视频<br  />
 参数格式:{"MtcConfUserUriKey": "用户URL", "MtcConfMediaOptionKey": "类型"}<br  />
 用户Uri: 通过调用底层Mtc接口获取 MtcUser.Mtc_UserFormUri(EN_MTC_USER_ID_USERNAME, userId)<br  />
 类型: 服务器转发分三种 音频、视频、音视频，具体可参考底层mtc_conf.h下的MtcConfMedia的枚举值。<br  />
 注意1:指令发送成功后会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a742c4faad421cf18f991dc954374931f">onParticipantUpdate</a> 回调 <br  />
 举例: {"MtcConfUserUriKey": "[username:justin@sample.cloud.justalk.com]", "MtcConfMediaOptionKey": 3}<br  />
<br  />
</li>
<li>指令名: ChangeTitle 指令作用：请求修改会议主题<br  />
 参数格式: {"MtcConfTitleKey":"修改的内容"}<br  />
 修改的内容: 比如原来主题设置的是"123"，现在改为"321"。<br  />
 注意1:指令发送成功后会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#ab014f3ec038d8abe13b7c0d63d66f9a7">onMediaChannelPropertyChange</a> 回调<br  />
 注意2:可通过 JCManager.shared.mediaChannel.title 获取主题<br  />
 举例:{"MtcConfTitleKey": "321"}<br  />
<br  />
</li>
<li>指令名: SetPartpProp 指令作用：批量修改成员状态，角色，昵称。<br  />
 参数格式: {"MtcConfStateKey":1,"MtcConfDisplayNameKey":"1314","MtcConfPartpLstKey":["[username:10086@sample.cloud.justalk.com]"],"MtcConfRoleKey":7}<br  />
 要修改的成员状态: 具体可参考底层 mtc_conf.h 下的 MtcConfState 的枚举值<br  />
 要修改的成员角色: 具体可参考底层 mtc_conf.h 下的 MtcConfRole 的枚举值<br  />
 要修改的成员昵称: 比如"123"<br  />
 用户Uri:通过调用底层Mtc接口获取 MtcUser.Mtc_UserFormUri(EN_MTC_USER_ID_USERNAME, userId); <br  />
 注意1:指令发送成功后会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a742c4faad421cf18f991dc954374931f">onParticipantUpdate</a> 回调 <br  />
 注意2:MtcConfStateKey、MtcConfDisplayNameKey、MtcConfRoleKey这三个字段，可根据用户想修改哪个值，就在json字符串里面加入哪个。<br  />
 注意3:MtcConfPartpLstKey 可包含多个用户uri进行批量修改<br  />
 举例:{"MtcConfStateKey":4,"MtcConfDisplayNameKey":"123","MtcConfPartpLstKey":{"MtcConfUserUriKey":"[username:10086@sample.cloud.justalk.com]","MtcConfStateKey":4},"MtcConfRoleKey":4}<br  />
<br  />
</li>
<li>指令名：ReplayApplyMode 指令作用：设置推流布局模式<br  />
 指令参数格式：{"MtcConfCompositeModeKey": 参数值}<br  />
 参数值：<br  />
 1 平铺模式,所有视频均分平铺<br  />
 2 讲台模式,共享为大图,其他视频为小图<br  />
 3 演讲模式,共享为大图,共享者视频为小图,其他不显示<br  />
 4 自定义模式,由ReplayApplyLayout指令设置所有视频布局<br  />
 5 智能模式。<br  />
 举例：输入指令参数{"MtcConfCompositeModeKey": 2}就是讲台模式&lt;br&gt;<br  />
</li>
<li>指令名：ReplayApplyLayout 指令作用：为多用户设置自定义推流布局<br  />
 指令参数格式：{[{"MtcConfUserUriKey": "用户uri", "MtcConfPictureSizeKey": 视频尺寸,"MtcConfRectangleKey": 图像矩形的具体方位和长宽}]，...}<br  />
 用户uri：通过调用底层Mtc接口获取MtcUser.Mtc_UserFormUri((uint)EN_MTC_USER_ID_TYPE.EN_MTC_USER_ID_USERNAME，userId)<br  />
 视频尺寸：一共5个枚举值，具体枚举值请参考底层mtc_conf.h下的MtcConfPs枚举<br  />
 图像矩形的具体方位和长宽：这是一个Json格式的Array对象表示这个图像的位置和大小，第一个值是图像左上角的x坐标(0~1)<br  />
 第二个值是图像左上角的y坐标(0~1)。第三个值是图像的宽(0~1)。第四个值是图像的高(0~1)。比如[0.5,0.5,0.5,0.5]表示图像在右下角长宽是原始屏幕的一半<br  />
 举例：<br  />
 [{"MtcConfUserUriKey":"[username:zhang@xxxx.cloud.justalk.com]","MtcConfPictureSizeKey":512,"MtcConfRectangleKey":[0.5,0.5,0.5,0.5]}]<br  />
 表示成员zhang小尺寸的视频在屏幕右下角位置，长宽是原始屏幕的一半<br  />
</li>
</ul>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>指令名 </td></tr>
    <tr><td class="paramname">param</td><td>指令参数 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a4319fcd6ad8bd954780d653e8b97b619"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4319fcd6ad8bd954780d653e8b97b619">&#9670;&nbsp;</a></span>sendCommandToDelivery()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.sendCommandToDelivery </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>发送命令给推流或录制器</p>
<p>发送命令给推流时，只有加入成功并且推流状态为 <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">Ready</a> 才生效 <br  />
 发送命令给录制器时，只有加入成功并且录制状态为 <a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">Ready</a> 才生效</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>命令字符串 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a4a049113155708a09be3d72b6f595a2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a049113155708a09be3d72b6f595a2d">&#9670;&nbsp;</a></span>sendMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.sendMessage </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>toUserId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>发送消息</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>消息类型 </td></tr>
    <tr><td class="paramname">content</td><td>消息内容，不能为空，并且当 toUserId 不为 null 时，content 不能大于 4k </td></tr>
    <tr><td class="paramname">toUserId</td><td>接收者id，传入 null 则发给频道所有人员 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a1d81a162904941300de931a201ef8575"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d81a162904941300de931a201ef8575">&#9670;&nbsp;</a></span>setCustomProperty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.setCustomProperty </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>property</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置频道自定义属性</p>
<p>调用此接口来设置频道自定义属性</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>自定义属性 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="af799e5a0983b33df5b6bc954e13106b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af799e5a0983b33df5b6bc954e13106b0">&#9670;&nbsp;</a></span>setCustomRole()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void JCSDK.JCMediaChannel.JCMediaChannel.setCustomRole </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaa08a0d769204469b225ef05b65e3d8e1">JCMediaChannelCustomRole</a>&#160;</td>
          <td class="paramname"><em>customRole</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置自定义角色</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">customRole</td><td><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaa08a0d769204469b225ef05b65e3d8e1">自定义角色</a> </td></tr>
    <tr><td class="paramname">participant</td><td><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 对象，频道中的成员，null 则默认设置自己 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9d3ec7d6875f0c2b7387cd9b7a8a896a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d3ec7d6875f0c2b7387cd9b7a8a896a">&#9670;&nbsp;</a></span>setCustomState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void JCSDK.JCMediaChannel.JCMediaChannel.setCustomState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga1adecbfad737d3374556967dc989f145">JCMediaChannelCustomState</a>&#160;</td>
          <td class="paramname"><em>customState</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置自定义状态</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">customState</td><td><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga1adecbfad737d3374556967dc989f145">自定义状态</a> </td></tr>
    <tr><td class="paramname">participant</td><td><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 对象，频道中的成员，null 则默认设置自己 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aed71dff82747e59d38b2a4a13c299e17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed71dff82747e59d38b2a4a13c299e17">&#9670;&nbsp;</a></span>setVideoCapture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.setVideoCapture </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>设置频道自定义属性</p>
<p>调用此接口来设置频道自定义属性</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">property</td><td>自定义属性 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true：正常执行调用流程</li>
<li>false：调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="a964faa05949c34d2e46cc31439464cca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a964faa05949c34d2e46cc31439464cca">&#9670;&nbsp;</a></span>startScreenShareVideo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_device_1_1_j_c_media_device_video_canvas.html">JCMediaDeviceVideoCanvas</a> JCSDK.JCMediaChannel.JCMediaChannel.startScreenShareVideo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga440618b370a53169b48134c02056144b">JCMediaDeviceRenderMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">JCMediaChannelPictureSize</a>&#160;</td>
          <td class="paramname"><em>pictureSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>启动频道成员的屏幕分享视频渲染</p>
<p>频道成员开启屏幕分享时，调用此方法可获得屏幕分享视频 渲染对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">mode</td><td>渲染模式：<ul>
<li><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga440618b370a53169b48134c02056144b">FullScreen</a> : 铺满窗口，会有裁剪</li>
<li><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga440618b370a53169b48134c02056144b">FullContent</a> : 全图像显示，会有黑边</li>
<li><a class="el" href="group___xE8_xAE_xBE_xE5_xA4_x87_xE6_xA8_xA1_xE5_x9D_x97.html#ga440618b370a53169b48134c02056144b">FullAuto</a> : 自适应 </li>
</ul>
</td></tr>
    <tr><td class="paramname">pictureSize</td><td>视频请求的尺寸类型：<ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">None</a> : 不渲染</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Min</a> : 最小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Small</a> : 小尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Large</a> : 大尺寸</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga6d61d78ca5101cf8d8fb523152115426">Max</a> : 最大尺寸 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>JCMediaDeviceVideoCanvas 渲染对象 </dd></dl>

</div>
</div>
<a id="ad241abc5692625fb65d41f8ac70328dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad241abc5692625fb65d41f8ac70328dd">&#9670;&nbsp;</a></span>stop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.stop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>关闭频道</p>
<p>此频道内的成员都将被强制退出</p>
<dl class="section return"><dt>返回</dt><dd>调用是否正常<ul>
<li>true: 正常执行调用流程<ul>
<li>在调用此方法时，用户的频道状态是空闲状态，不会收到回调通知</li>
<li>在调用此方法时，用户的频道状态不是空闲状态，则会收到 <a class="el" href="interface_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_callback.html#a628b26da0412c22a4ad32a1b8e422f2c">onStop</a> 通知</li>
</ul>
</li>
<li>false: 调用失败 </li>
</ul>
</dd></dl>

</div>
</div>
<a id="af6f8a9b4eacfd02b268fc667ccfa821b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6f8a9b4eacfd02b268fc667ccfa821b">&#9670;&nbsp;</a></span>stopScreenShareVideo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void JCSDK.JCMediaChannel.JCMediaChannel.stopScreenShareVideo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>停止屏幕分享视频渲染</p>
<p>调用 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel.html#a964faa05949c34d2e46cc31439464cca">startScreenShareVideo</a> 启动屏幕分享视频渲染后，调用此方法可停止 </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="add3000444cbde3d9cf0420d194bf0974"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add3000444cbde3d9cf0420d194bf0974">&#9670;&nbsp;</a></span>volumeChangeNotify</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.volumeChangeNotify = false</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>是否通知成员音量变化，默认不通知</p><ul>
<li>true: 通知</li>
<li>false: 不通知 </li>
</ul>

</div>
</div>
<h2 class="groupheader">属性说明</h2>
<a id="a1b96b562e8f9b421fe1478f9155fdddd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b96b562e8f9b421fe1478f9155fdddd">&#9670;&nbsp;</a></span>audioOutput</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.audioOutput</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否音频输出</p>
<p>本地没有音频输出的话，就听不到频道内其他成员的声音了</p>
<ul>
<li>true: 输出中</li>
<li>false: 未输出 </li>
</ul>

</div>
</div>
<a id="aa2dfb2c84eb384f573eba9d839625fc3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2dfb2c84eb384f573eba9d839625fc3">&#9670;&nbsp;</a></span>cdnState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">JCMediaChannelCdnState</a> JCSDK.JCMediaChannel.JCMediaChannel.cdnState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得cdn推流状态</p><ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">None</a> : 无法进行Cdn推流。用户不在频道中或者加入频道时没有设置cdn推流参数</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">Ready</a> : 可以开启Cdn推流。用户在加入频道时设置了cdn推流参数，并且没有在推流</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga0f5b05a2f555cf9e29216be7f17f0006">Running</a> : Cdn推流中。用户在加入频道时设置了cdn推流参数，并且正在cdn推流中 </li>
</ul>

</div>
</div>
<a id="a263cf4ddd6cacd59c53cb7a5a3fb8f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a263cf4ddd6cacd59c53cb7a5a3fb8f0a">&#9670;&nbsp;</a></span>channelId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.channelId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>频道标识 </p>

</div>
</div>
<a id="a8af073cb712f87330da2e19c092beafd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8af073cb712f87330da2e19c092beafd">&#9670;&nbsp;</a></span>channelNumber</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int JCSDK.JCMediaChannel.JCMediaChannel.channelNumber</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>八位创建会议时生成的频道号（用于webAgent加入会议） </p>

</div>
</div>
<a id="a11c2a67b480517aa2b5d4918d26a7c57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11c2a67b480517aa2b5d4918d26a7c57">&#9670;&nbsp;</a></span>channelUri</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.channelUri</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>频道 Uri </p>

</div>
</div>
<a id="a9e0cbf39e27394926b324f6e5d3323bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e0cbf39e27394926b324f6e5d3323bf">&#9670;&nbsp;</a></span>confId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long JCSDK.JCMediaChannel.JCMediaChannel.confId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>会议号 </p>

</div>
</div>
<a id="af1ca33db3adb384f503a8f110d74ca91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1ca33db3adb384f503a8f110d74ca91">&#9670;&nbsp;</a></span>customProperty</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.customProperty</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自定义属性，默认为 "" </p>

</div>
</div>
<a id="ac29c2c5625a3e6d22982941c39280b45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac29c2c5625a3e6d22982941c39280b45">&#9670;&nbsp;</a></span>customRole</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#gaa08a0d769204469b225ef05b65e3d8e1">JCMediaChannelCustomRole</a> JCSDK.JCMediaChannel.JCMediaChannel.customRole</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自定义角色 </p>

</div>
</div>
<a id="aa419ef68f470053b1979fe2f756564c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa419ef68f470053b1979fe2f756564c6">&#9670;&nbsp;</a></span>customState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga1adecbfad737d3374556967dc989f145">JCMediaChannelCustomState</a> JCSDK.JCMediaChannel.JCMediaChannel.customState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自定义状态 </p>

</div>
</div>
<a id="ac9fd7adfdc402bc4038d0c2132d8c231"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9fd7adfdc402bc4038d0c2132d8c231">&#9670;&nbsp;</a></span>deliveryUri</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.deliveryUri</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>推流录制器成员 </p>

</div>
</div>
<a id="ab6a5dcfc41c7f2a63ac564a64f5b0485"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6a5dcfc41c7f2a63ac564a64f5b0485">&#9670;&nbsp;</a></span>password</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.password</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>频道密码 </p>

</div>
</div>
<a id="afaaa80ebde523c64d9a7113f8c48eccf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaaa80ebde523c64d9a7113f8c48eccf">&#9670;&nbsp;</a></span>recordState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">JCMediaChannelRecordState</a> JCSDK.JCMediaChannel.JCMediaChannel.recordState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获得视频录制状态，参见：</p><ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">None</a> : 无法进行视频录制。用户不在频道中或者加入频道时没有设置视频录制参数</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">Ready</a> : 可以开启视频录制。用户在加入频道时设置了录制参数，并且没有在录制视频</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga7bb409b95e42e5558f19be7eb0bdbf1b">Running</a> : 视频录制中。用户在加入频道时设置了录制参数，并且正在视频录制中 </li>
</ul>

</div>
</div>
<a id="a8bae432246e32530364e8d6712e2e4aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bae432246e32530364e8d6712e2e4aa">&#9670;&nbsp;</a></span>screenRenderId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.screenRenderId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>屏幕共享渲染标识</p>
<p>没有屏幕共享则为 null </p>

</div>
</div>
<a id="a1343c8c5f28e90f2139f145e62b12737"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1343c8c5f28e90f2139f145e62b12737">&#9670;&nbsp;</a></span>screenUserId</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.screenUserId</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>屏幕共享用户标识</p>
<p>没有屏幕共享则为 null </p>

</div>
</div>
<a id="a95672dd878989b7aed5fb96e6b6b79e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95672dd878989b7aed5fb96e6b6b79e0">&#9670;&nbsp;</a></span>selfParticipant</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> JCSDK.JCMediaChannel.JCMediaChannel.selfParticipant</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自身 <a class="el" href="class_j_c_s_d_k_1_1_j_c_media_channel_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 对象 </p>

</div>
</div>
<a id="a323710cbbb1737a2a375f3959491e82f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a323710cbbb1737a2a375f3959491e82f">&#9670;&nbsp;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">JCMediaChannelState</a> JCSDK.JCMediaChannel.JCMediaChannel.state</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自己当前在频道中的状态</p>
<p>当前在频道中的状态，参见：</p><ul>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">Idle</a> : 空闲状态</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">Joining</a> : 加入中</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">Joined</a> : 已加入</li>
<li><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html#ga9fd2743975b3a706bb5fc0b581236d92">Leaving</a> : 离开中 </li>
</ul>

</div>
</div>
<a id="ad908880e1247395afdd7a843a1be887a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad908880e1247395afdd7a843a1be887a">&#9670;&nbsp;</a></span>title</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">string JCSDK.JCMediaChannel.JCMediaChannel.title</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>频道标题 </p>

</div>
</div>
<a id="a48ae640ccee47605de99d08307461170"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48ae640ccee47605de99d08307461170">&#9670;&nbsp;</a></span>uploadLocalAudio</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.uploadLocalAudio</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否上传本地音频数据</p><ul>
<li>true: 上传中</li>
<li>false: 未上传 </li>
</ul>

</div>
</div>
<a id="aeef8f7d17e187c0e010275089f751066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeef8f7d17e187c0e010275089f751066">&#9670;&nbsp;</a></span>uploadLocalVideo</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool JCSDK.JCMediaChannel.JCMediaChannel.uploadLocalVideo</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否上传本地视频数据</p><ul>
<li>true: 上传中</li>
<li>false: 未上传 </li>
</ul>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>JCSDK/JCSDK/JCMediaChannel/JCMediaChannel.cs</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
